package com.itjob.entity;

import java.util.Date;

public class UserInfoEntity {
	private int infoId;
	private String username;
	private String realname;
	private String sex;
	private Date birth;
	private String idCard;
	private String email;
	private String address;
	private String mobile;
	
	private UserLoginEntity userLoginEntity;

	public int getInfoId() {
		return infoId;
	}

	public String getUsername() {
		return username;
	}

	public String getRealname() {
		return realname;
	}

	public String getSex() {
		return sex;
	}

	public Date getBirth() {
		return birth;
	}

	public String getIdCard() {
		return idCard;
	}

	public String getEmail() {
		return email;
	}

	public String getAddress() {
		return address;
	}

	public String getMobile() {
		return mobile;
	}

	public UserLoginEntity getUserLoginEntity() {
		return userLoginEntity;
	}

	public void setInfoId(int infoId) {
		this.infoId = infoId;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public void setIdCode(String idCard) {
		this.idCard = idCard;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public void setUserLoginEntity(UserLoginEntity userLoginEntity) {
		this.userLoginEntity = userLoginEntity;
	}

	public UserInfoEntity() {};
	public UserInfoEntity(int infoId, String username, String realname, String sex, Date birth, String idCard,
			String email, String address, String mobile, UserLoginEntity userLoginEntity) {
		super();
		this.infoId = infoId;
		this.username = username;
		this.realname = realname;
		this.sex = sex;
		this.birth = birth;
		this.idCard = idCard;
		this.email = email;
		this.address = address;
		this.mobile = mobile;
		this.userLoginEntity = userLoginEntity;
	}

	@Override
	public String toString() {
		return "UserInfoEntity [infoId=" + infoId + ", username=" + username + ", realname=" + realname + ", sex=" + sex
				+ ", birth=" + birth + ", idCard=" + idCard + ", email=" + email + ", address=" + address + ", mobile="
				+ mobile + ", userLoginEntity=" + userLoginEntity + "]";
	}
	
	
	
	

}
